@keyframes test {
    from { background-color: red; }
    50% { background-color: yellow; }
    to { background-color: green; }
}